/* eslint-disable import/prefer-default-export */
import request from '@/service/request';
import type { TableInfo } from './types';

//  概览的表格数据
export function getBaseTableInfo() {
  return request.get<TableInfo>({
    url: '/common/overview',
    interceptors: {
      responseInterceptor(res: TableInfo): any {
        return {
          ...res,
        };
      },
    },
  });
}
